package com.example.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component("userEntity")
public class User {
    @Value("1")
    private Integer uid;
    @Value("admin")
    private String username;
    @Value("123456")
    private String password;
}
